/*
 *  AEdgecodeClip.h
 *  libavid
 *
 *  Created by Peter on 29.02.12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef A_EDGECODE_CLIP_H
#define A_EDGECODE_CLIP_H

#include "AClip.h"

// Version: 1 (MC 5.0.3)
class AEdgecodeClip : public AClip
{
public:
	
	A_DECLARE_CLASS( 'ECCP', AEdgecodeClip, AClip );

	// ----- member functions -----
	
	virtual void readFromStream( AStream& str, const AObjDoc& objd );
	virtual void dump( std::ostream& str ) const;
	
	// ----- data members -----
	
	UInt8  _header[ 8 ]; // OMFI:ECCP:Header: 3030 3100 2020 2020
	UInt8  _filmKind;    // OMFI:ECCP:FilmKind: 0x00
	UInt8  _codeFormat;  // OMFI:ECCP:CodeFormat: 0x01
	UInt16 _basePerf;    // OMFI:ECCP:BasePerf: 0x0000
	UInt32 _unused;      // __OMFI:ECCP:Unused_a: 0x00000000
	Int32  _startEc;     // OMFI:ECCP:StartEC: 0
	
};

#endif /*Inclusion Guard*/